<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<script>
window.onload=function ()
{
	document.onclick=function (ev)
	{
		//IE
		//alert(event.clientX+','+event.clientY);
		
		//FF
		//alert(ev.clientX+','+ev.clientY);
		
		var oEvent=ev||event;
		
		alert(oEvent.clientX+','+oEvent.clientY);
	};
};
</script>
</head>

<body>
</body>
</html>
